Optimal. Leaf size=184 \[ \frac {2^{2 p-1} \left (a+b x+c x^2\right )^p \left (\frac {e \left (-\sqrt {b^2-4 a c}+b+2 c x\right )}{c (d+e x)}\right )^{-p} \left (\frac {e \left (\sqrt {b^2-4 a c}+b+2 c x\right )}{c (d+e x)}\right )^{-p} F_1\left (-2 p;-p,-p;1-2 p;\frac {2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}{2 c (d+e x)},\frac {2 d-\frac {\left (b+\sqrt {b^2-4 a c}\right ) e}{c}}{2 (d+e x)}\right )}{e p} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 184, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {758, 133} \[ \frac {2^{2 p-1} \left (a+b x+c x^2\right )^p \left (\frac {e \left (-\sqrt {b^2-4 a c}+b+2 c x\right )}{c (d+e x)}\right )^{-p} \left (\frac {e \left (\sqrt {b^2-4 a c}+b+2 c x\right )}{c (d+e x)}\right )^{-p} F_1\left (-2 p;-p,-p;1-2 p;\frac {2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}{2 c (d+e x)},\frac {2 d-\frac {\left (b+\sqrt {b^2-4 a c}\right ) e}{c}}{2 (d+e x)}\right )}{e p} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 133
Rule 758
Rubi steps
\begin {align*} \int \frac {\left (a+b x+c x^2\right )^p}{d+e x} \, dx &=-\frac {\left (2^{2 p} \left (\frac {1}{d+e x}\right )^{2 p} \left (\frac {e \left (b-\sqrt {b^2-4 a c}+2 c x\right )}{c (d+e x)}\right )^{-p} \left (\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{c (d+e x)}\right )^{-p} \left (a+b x+c x^2\right )^p\right ) \operatorname {Subst}\left (\int x^{1-2 (1+p)} \left (1-\frac {1}{2} \left (2 d-\frac {\left (b-\sqrt {b^2-4 a c}\right ) e}{c}\right ) x\right )^p \left (1-\frac {1}{2} \left (2 d-\frac {\left (b+\sqrt {b^2-4 a c}\right ) e}{c}\right ) x\right )^p \, dx,x,\frac {1}{d+e x}\right )}{e}\\ &=\frac {2^{-1+2 p} \left (\frac {e \left (b-\sqrt {b^2-4 a c}+2 c x\right )}{c (d+e x)}\right )^{-p} \left (\frac {e \left (b+\sqrt {b^2-4 a c}+2 c x\right )}{c (d+e x)}\right )^{-p} \left (a+b x+c x^2\right )^p F_1\left (-2 p;-p,-p;1-2 p;\frac {2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}{2 c (d+e x)},\frac {2 d-\frac {\left (b+\sqrt {b^2-4 a c}\right ) e}{c}}{2 (d+e x)}\right )}{e p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.24, size = 182, normalized size = 0.99 \[ \frac {2^{2 p-1} (a+x (b+c x))^p \left (\frac {e \left (-\sqrt {b^2-4 a c}+b+2 c x\right )}{c (d+e x)}\right )^{-p} \left (\frac {e \left (\sqrt {b^2-4 a c}+b+2 c x\right )}{c (d+e x)}\right )^{-p} F_1\left (-2 p;-p,-p;1-2 p;\frac {2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}{2 c (d+e x)},\frac {2 c d-b e+\sqrt {b^2-4 a c} e}{2 c d+2 c e x}\right )}{e p} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.93, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (c x^{2} + b x + a\right )}^{p}}{e x + d}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (c x^{2} + b x + a\right )}^{p}}{e x + d}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.58, size = 0, normalized size = 0.00 \[ \int \frac {\left (c \,x^{2}+b x +a \right )^{p}}{e x +d}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (c x^{2} + b x + a\right )}^{p}}{e x + d}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (c\,x^2+b\,x+a\right )}^p}{d+e\,x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b x + c x^{2}\right )^{p}}{d + e x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________